import { defineStore } from 'pinia';

export const useLanguageStore = defineStore('language', {
  state: () => ({
    currentLanguage: 'zh-cn', // 默认语言为中文
  }),
  actions: {
    setLanguage(language: any) {
      this.currentLanguage = language;
    },
  },
});
